package com.hyt.it.ogt.kq.service.gov.api.ks.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
@ApiModel(value = "监考员批次信息")
public class UserTimeVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "考务任务id")
    private String taskId;

    @ApiModelProperty(value = "批次id")
    private String timeId;

    @ApiModelProperty(value = "批次名称")
    private String timeName;

    @ApiModelProperty(value = "批次状态：0：全部，1：考中，2：已过期，3：未开始")
    private Integer timeState;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss" , timezone="GMT+8")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss" , timezone="GMT+8")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "排序号")
    private Integer sort;


}
